package com.sanno.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 药店(SccDrugstore)实体类
 *
 * @author makejava
 * @since 2021-12-17 15:17:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("scc_drugstore")
public class SccDrugstore implements Serializable {
    private static final long serialVersionUID = -20291698095536482L;
    /**
     * 药店id
     */
    @TableId(type=IdType.AUTO)
    private Integer storeId;
    /**
     * 药店名
     */
    private String storeName;
    /**
     * 药店编码
     */
    private String storeCode;
    /**
     * 省邮政码
     */
    private String provinceCode;
    /**
     * 省
     */
    private String province;
    /**
     * 市邮政码
     */
    private String cityCode;
    /**
     * 市
     */
    private String city;
    /**
     * 县邮政码
     */
    private String countyCode;
    /**
     * 县
     */
    private String county;
    /**
     * 药店地址
     */
    private String addressDetail;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;

    @TableField(exist = false)
    List<SncUserLogin> sncUserLogins;

}

